body {
    margin: 0;
    padding: 0;
    font-family: 'Vazirmatn', sans-serif;
    background: linear-gradient(180deg, #ffffff, #f5f5f7);
    color: #111;
  }
    
@media (max-width: 649px){
  .nav-menu {
    display: none !important;
  }
  .navbar0 {
      grid-template-columns: repeat(2, auto) !important;
  }
  .main_change_language {
      display: none;
  }
  #menu_icon {
      display: block;
  }
  .main_change_language {
      display: none;
  }
}
@media (min-width: 649px) {
#menu_icon {
  display: none !important;
}
}

a{
text-decoration: none;
color: #ffffff;
}

ul{
  list-style: none;
}

.header {
background-color: #ffffff;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
position: sticky;
top: 0;
z-index: 1000;
width: 100%;
padding: -20px 30px 10px 20px;
height: 100px;
}

#menu_icon {
width: 46px;
height: 46px;
margin-top: 0.5rem;
margin-right: 1.3rem;
display: block;
}

#close_icon {
width: 46px;
height: 46px;
margin-bottom: 2rem;
margin-right: 16px;
display: none;
z-index: 1000;
}

.close_icon_active {
display: block !important;
}

.menu_icon_active {
display: none !important;
}

.navbar0 {
  display: grid;
  grid-template-columns: repeat(3,auto);
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  font-size: 15px;
  margin-top: 1.8rem;
}

.nav-menu a {
text-decoration: none;
color: #333;
font-weight: 600;
margin-right: -10px;
}

.nav-menu a:hover {
color: #0078ff;
transition: 0.3s;
}



.main_change_language {
background-color: #0078ff;
color: #ffffff;
border: none;
padding: 0.8rem 1.5rem;
border-radius: 4px;
cursor: pointer;
font-weight: 600;
text-transform: uppercase;
text-decoration: none;
margin-top: 0.8rem;
}


.btn-primary:hover {
background-color: #005fcc;
transition: 0.3s;
}

.img_header{
width: 100px;
margin-right: 50px;
margin-left: 30px;
margin-top: -.5rem;
}

.side_bar {
background-color: #ffffffec;
position: fixed;
z-index: 100;
width: 200px;
height: 100svh;
right: 0;
top: 0;
border-left: 2px solid #494949;
transform: translateX(300px);
-webkit-transform: translateX(300px);
-moz-transform: translateX(300px);
-ms-transform: translateX(300px);
-o-transform: translateX(300px);
transition: all 0.3s;
-webkit-transition: all 0.3s;
-moz-transition: all 0.3s;
-ms-transition: all 0.3s;
-o-transition: all 0.3s;
}

.side_bar > ul li a {
color: #323232;
}

.side_bar ul {
  position: absolute;
  right: 1.5rem;
  top: 95px;
  font-weight: 600;
  line-height: 40px;
  font-size: 18px;
  padding: 0;
}



.side_bar_language {
border: none;
cursor: pointer;
font-weight: 600;
text-transform: uppercase;
text-decoration: none;
font-size: 17px;
}

.menu1_active {
transform: translateX(0);
-webkit-transform: translateX(0);
-moz-transform: translateX(0);
-ms-transform: translateX(0);
-o-transform: translateX(0);
}



.change_language > a {
margin-right: 1.5rem;
position: absolute;
bottom: 20px;
}

#close_icon {
position: relative;
}

.btn-primary:not(.main_change_language) {
background-color: #0078ff;
color: #ffffff;
border: none;
padding: 0.8rem 1.5rem;
border-radius: 4px;
cursor: pointer;
font-weight: 600;
text-transform: uppercase;
text-decoration: none;
}

.btn-primary:hover {
background-color: #005fcc;
transition: 0.3s;
}
  .container {
    max-width: 1200px;
    margin: 60px auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
  }

  .product-image {
    border-radius: 30px;
    overflow: hidden;
  }

  .product-image img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
    border-radius: 30px;
  }

  .product-image:hover img {
    transform: scale(1.05);
  }

  .product-details h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: #000;
  }

  .description {
    font-size: 1.2rem;
    color: #444;
    margin-bottom: 40px;
  }

  .specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
  }

  .spec-item {
    background: #ffffff;
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: inset 0 0 0 1px #e0e0e0;
    transition: all 0.3s ease;
  }

  .spec-item:hover {
    background: #fdfdfd;
    transform: translateY(-2px);
  }

  .spec-title {
    font-weight: bold;
    font-size: 1rem;
    color: #005fcc;
    margin-bottom: 6px;
  }

  .spec-value {
    font-size: 1.1rem;
    color: #222;
  }

  .contact-boxes {
    max-width: 1200px;
    margin: 60px auto 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0 20px;
  }

  .contact-box {
    flex: 1 1 260px;
    background: linear-gradient(135deg, #ffffff, #f2f2f7);
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    font-size: 1.3rem;
    font-weight: bold;
    color: #000;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: inset 0 0 0 1px #e5e5e5;
  }

  .contact-box:hover {
    color: #005fcc;
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
  }

  @media (max-width: 1024px) {
    .container {
      grid-template-columns: 1fr;
      text-align: center;
    }

    .product-image img {
      max-width: 100%;
      height: auto;
    }

    .product-details h1 {
      font-size: 2rem;
    }

    .description {
      font-size: 1rem;
    }
  }

  @media (max-width: 600px) {
    .specs-grid {
      grid-template-columns: 1fr;
    }

    .contact-box {
      font-size: 1.1rem;
    }

    .container {
      gap: 30px;
      padding: 20px 16px;
    }
  }
  
.custom-footer {
  background-color: #004797;
  color: #fff;
  padding: 30px 15px;
}
footer{
  max-width: 100%;
}

.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-box {
  flex: 1 1 30%; 
  margin: 10px;
  min-width: 250px;
  max-width: 1300px;
}

.footer-box h3 {
  font-size: 1.2em;
  margin-bottom: 15px;
  color: #ffffff;
}

.footer-box p,
.footer-box ul,
.footer-box li {
  font-size: 0.95em;
  line-height: 1.8;
  margin: 0;
  padding: 0;
  color: #ffffff;
}

.footer-box ul {
  list-style: none;
}

.footer-box ul li {
  margin-bottom: 10px;
}

.footer-box ul li a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-box ul li a:hover {
  color: #f1f1f1;
}

.footer-box .contact-links a {
  color: #ffffff;
  text-decoration: none;
}

.footer-box .contact-links a:hover {
  text-decoration: underline;
}

.footer-copy {
  text-align: center;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #444;
  color: #aaa;
  font-size: 0.85em;
}

.social-media {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.social-media a {
  width: 35px;
  height: 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-size: 1.2em;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.social-media a:hover {
  background-color: #0078ff;
}
.contact-info p a{
  color: #ffffff;
}
@media (max-width: 600px) {
.specs-grid {
  grid-template-columns: repeat(2, 1fr); /* دوتا دوتا کنار هم */
  gap: 12px; /* فاصله مناسب */
}
}

@media (max-width: 600px) {
.contact-boxes {
  flex-direction: column;
  align-items: center; /* قرار گرفتن وسط صفحه */
}

.contact-box {
  font-size: 1.1rem;
  width: fit-content;
  min-width: 180px;
  max-width: 260px;
  padding: 15px 20px;
  max-height: 20px;
}
}



@media (max-width: 575px) {
  .hidden_about {
      display: none;
  }
}
